package com.kmxd.ams.client.event.move;

import com.kmxd.ams.client.event.AmsEvent;
import com.kmxd.ams.core.common.enums.ArchStatusEnum;
import java.util.Set;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.ToString;

/**
 * 汇总卷内信息事件
 *
 * @author nickbi
 */
@EqualsAndHashCode(callSuper = true)
@Getter
@ToString(callSuper = true)
public class VolumeChangeStatusEvent extends AmsEvent {
  //修改单id操作为批量操作
  private final Set<Long> ids;
  private final Long archTypeId;
  private final String tableId;
  private final String docTableId;
  private final ArchStatusEnum status;

  public VolumeChangeStatusEvent(
      Set<Long> ids, Long archTypeId, String tableId, String docTableId, ArchStatusEnum status) {
    this.ids = ids;
    this.archTypeId = archTypeId;
    this.tableId = tableId;
    this.docTableId = docTableId;
    this.status = status;
  }
}
